package com.miya.demo.model.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Excel模板导出vo
 *
 * @author CaiXiaowei
 * @date 2022/12/2
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TemplateExportListVO implements Serializable {

    /**
     * 名字
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 电话
     */
    private String phone;

    /**
     * 性别
     */
    private String gender;

    /**
     * 入职日期
     */
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date employmentDate;

}
